<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
<h1>
    <c:choose>
        <c:when test="${loginError == null}">
            请登录！
        </c:when>
        <c:otherwise>
            ${loginError}
        </c:otherwise>
    </c:choose>
</h1>
<form action="/login/user">

    用户名：<input type="text" name="username" placeholder="用户名"/>
    <br/>
    密码：<input type="password" name="password" placeholder="密码"/>
    <br/><br/>
    <input type="submit" value="登陆">

</form>
</body>
</html>
